Api.EnableServerLog 方法

在 RTX64 Console 上启用来自 KINGSTAR Runtime 的连结讯息。

命名空间IntervalZero.KINGSTAR.Local.Api

组合: IntervalZero.KINGSTAR.Local.Api (于 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0

语法

C#VB
public KsError EnableServerLog(
       bool Active
)
Public Function EnableServerLog(
       Active As Boolean
) As KsError

参数

Active

型别:bool

true:启用讯息显示;false:停用讯息显示。预设为 true

回传值

型别:KsError

方法的回传代码。

备注

此方法须在 CreateCreateAsync 后及 Start 前呼叫。

可用的 EtherCAT 状态

ecatOffline

范例

C#
N/A

参见

Api 类别

IntervalZero.KINGSTAR.Local.Api 命名空间